<h1>Add a New Student:</h1>
<h2>
<?php
echo '<div id="errorBox">';
echo validation_errors();
echo '</div>';
echo form_open('home/newstudent');
echo 'First Name: ';  echo form_input('fname');  echo '<br /><br />';
echo 'Last Name: ';  echo form_input('lname');  echo '<br /><br />';
echo 'Grade Level: ';  echo form_input($gradelevel_attributes);  echo '&nbsp;&nbsp;&nbsp;&nbsp;';
echo 'School: ';  echo form_input($school_attributes);  echo '<br /><br /><hr /><br />';
echo 'Date of Birth: <br /><br /><br />';
echo 'Month: '; echo form_input($month_attributes);  echo '&nbsp;&nbsp;&nbsp;&nbsp;';
echo 'Day: ';  echo form_input($day_attributes);  echo '&nbsp;&nbsp;&nbsp;&nbsp;';
echo 'Year: ';  echo form_input($year_attributes);  echo '<br /><br /><hr /><br />';
echo form_hidden('postback', 'true');
echo form_submit('submit', 'Submit');
echo '&nbsp;&nbsp;&nbsp;&nbsp;';
echo form_reset('reset', 'Reset');
echo form_close();
?>&#65279;</h2>